﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Halcon二次开发.Tools
{
    /// <summary>
    /// 冒泡排序，工具类
    /// </summary>
    public class HelpArraySort
    {
        /// <summary>
        /// 排序List集合
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="list"></param>
        /// <returns></returns>
        public static List<T> SortList<T>(List<T> list)
        {
            list.Sort();
            return list;
        }
    }
}
